package com.ykh.mybbsdemo.dao.pojo.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: YKH
 * Date: 2023-06-08
 * Time: 13:54
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Message {
    @TableId(type = IdType.AUTO)
    private Long id;

    private Long articleId; // 文章id

    private Long launchUserId;//发消息的用户id

    private LocalDateTime createDate; //消息创建时间

    private Long acceptUserId;//接受消息的用户id

    private Integer isRead;//是否已读
}
